Order calculator
Enter $a$:
Enter number $n$:
Enter number $c$ such that $b^c \equiv 1 \left(\bmod n\right)$ for every $b$ coprime to $n$:
Find the order of $a$ modulo $n$